package com.supersit.GZFDA.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class GZFDASqliteDBHelper extends SQLiteOpenHelper {
	private static final String NAME = "GZFAD.db";
	private static final int VERSION = 1;

	public GZFDASqliteDBHelper(Context context) {
		super(context, NAME, null, VERSION);

	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		String UnUpload = "create table unupload(_id integer primary key,business_name text,uploaddate text,upuser text,coords_x text,coords_y text,by text,isupload text,photos text)";
		db.execSQL(UnUpload);
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub

	}

}
